package com.wpen.unit.web.dto.system;

import java.io.Serializable;

import javax.validation.constraints.Size;

import com.wpen.unit.commun.PageRequest;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 菜单-列表查询请求报文.
 * 
 * @author Wang Peng
 * @date 2022-12-22
 */
@Schema(description = "菜单-列表查询(请求)")
@Data
@EqualsAndHashCode(callSuper=false)
public class MenuListRequest extends PageRequest implements Serializable {
    private static final long serialVersionUID = 3748013572408380531L;

    @Schema(description =  "菜单编码")
    @Size(min = 0, max = 32)
    private String menuId;
    @Schema(description =  "菜单父ID")
    @Size(min = 0, max = 32)
    private String menuPid;
    @Schema(description =  "菜单名称")
    @Size(min = 0, max = 32)
    private String menuName;
    @Schema(description =  "顺序号")
    private Integer orders;
    @Schema(description =  "启用状态")
    @Size(min = 0, max = 1)
    private String status;

}